export 'colors.dart';
export 'dimens.dart';
export 'styles.dart';
export 'gaps.dart';

import 'package:flutter/widgets.dart';
import 'package:ls_work/widgets/load_image.dart';

import 'package:base_flutter/base_flutter.dart';


class Images {
  static const Widget arrowRight = const LoadAssetImage("ic_arrow_right", height: 16.0, width: 16.0);

  static const Widget breakfastUnselected = const LoadAssetImage("food/zcwxz", height: 65.0, width: 65.0);
  static const Widget breakfastSelected = const LoadAssetImage("food/zcxz", height: 65.0, width: 65.0);

  static Widget breakfastImage(bool selected){
    return selected?breakfastSelected:breakfastUnselected;
  }

  static const Widget lunchUnselected = const LoadAssetImage("food/zwcwxz", height: 65.0, width: 65.0);
  static const Widget lunchSelected = const LoadAssetImage("food/zwcxz", height: 65.0, width: 65.0);

  static Widget lunchImage(bool selected){
    return selected?lunchSelected:lunchUnselected;
  }

  static const Widget dinnerUnselected = const LoadAssetImage("food/wcwxz", height: 65.0, width: 65.0);
  static const Widget dinnerSelected = const LoadAssetImage("food/wcxz", height: 65.0, width: 65.0);

  static Widget dinnerImage(bool selected){
    return selected?dinnerSelected:dinnerUnselected;
  }

  static String iconFilter = getImagePath("icon_filter",parent: "assets");

}


class HealthIcons{
  ///大便次数
  static const IconData icon_stool = IconData(0xe68a,fontFamily: 'health_icon');
  ///呼吸次数
  static const IconData icon_breath = IconData(0xe68b,fontFamily: 'health_icon');
  ///心率
  static const IconData icon_heart_rate = IconData(0xe63e,fontFamily: 'health_icon');
  ///体温
  static const IconData icon_temp = IconData(0xe615,fontFamily: 'health_icon');
  ///血糖
  static const IconData icon_blood_sugar = IconData(0xe648,fontFamily: 'health_icon');
  ///血氧
  static const IconData icon_blood_oxygen = IconData(0xe649,fontFamily: 'health_icon');
  ///身高
  static const IconData icon_height = IconData(0xe626,fontFamily: 'health_icon');
  ///血压
  static const IconData icon_blood_pressure = IconData(0xe623,fontFamily: 'health_icon');
  ///脉率
  static const IconData icon_pulse_rate = IconData(0xe695,fontFamily: 'health_icon');
  ///体重
  static const IconData icon_weight = IconData(0xfe87,fontFamily: 'health_icon');


}

class ElderIcons{
  ///联系方式
  static const IconData icon_mobile = IconData(0xe69c,fontFamily: 'elder_icon');
  ///病史
  static const IconData icon_disease = IconData(0xe66e,fontFamily: 'elder_icon');
  ///身体情况
  static const IconData icon_body_info = IconData(0xe99f,fontFamily: 'elder_icon');
  ///忌讳
  static const IconData icon_avoid = IconData(0xe661,fontFamily: 'elder_icon');
  ///紧急联系人
  static const IconData icon_emergency_contacts = IconData(0xe633,fontFamily: 'elder_icon');

}